namespace Awesome.Extensions.Common
{
    public static class StructEx
    {
        /// <summary>
        /// Checks if struct is empty 
        /// </summary>
        public static bool IsEmpty<T>(this T value)
            where T : struct
        {
            return value.Equals(default(T));
        }

    }
}